package com.eystar.ext.kit;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * 内存中存放的值
 * @author Administrator
 *
 */
public class ContainerKit {
	
	public static Map<String, Object> map = new LinkedHashMap<String, Object>();
	
	private ContainerKit(){}
	
	public static boolean contains(String key){
		return map.containsKey(key);
	}
	
	public static void put(String key,Object value){
		map.put(key, value);
	}
	
	public static Object get(String key){
		return map.get(key);
	}
	
	public static void remove(String key){
		map.remove(key);
	}
	
	public static void refresh(String key){
		remove(key);
	}
}
